<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>


<div class="container">
  <form class="form-signin" action="${pageContext.request.contextPath}/auth/register" method="post">
    <h2 class="form-signin-heading">注册</h2>
    <div>
	    <label>用户名</label>
	    <input type="text" name="username" class="form-control" placeholder="用户名" required autofocus>
    </div>
    <div>
	    <label>密码</label>
	    <input type="password" name="password" class="form-control" placeholder="Password" required>
    </div>
    <br />
    <button class="btn btn-lg btn-primary btn-block" type="submit">注册</button>
    <a class="btn btn-lg btn-default btn-block" href="${pageContext.request.contextPath}/auth/login">登录</a>
  </form>
</div>
